//
//  NetCaptcha.m
//  carcareIOS
//
//  Created by ileo on 15/10/12.
//  Copyright © 2015年 baozun. All rights reserved.
//

#import "NetCaptcha.h"
#import "CalendarMgr.h"
#import "NetDealMgr.h"

@implementation NetCaptcha

+(NetCaptcha *)obtainCodeFromTel:(NSString *)tel{
    return [__SELF request:@"/sms/sendWithSign" withParams:@{@"tel":tel, @"d":[CALENDARMGR dateStrWithDate:[NSDate date] format:@"yyyyMMddHHmmss"]} type:REQUEST_POST];
}

-(NSDictionary *)requestFinalParamsWithSplicedParams:(NSDictionary *)spliced{
    return [NetDealMgr paramsAddSignWithParams:spliced];
}

@end
